package cn.itcast.bos.indexService.impl;

import cn.itcast.bos.domain.take_delivery.WayBill;
import cn.itcast.bos.index.WayBillIndex;
import cn.itcast.bos.indexService.WayBillIndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by xbqco on 2018/7/22.
 */
@Service
public class WayBillIndexServiceImpl implements WayBillIndexService {

    @Autowired
    private WayBillIndex wayBillIndex;

    @Override
    public void save(WayBill wayBill) {
        System.out.println("--------------------添加进去");
        wayBillIndex.save(wayBill);
    }
}
